public class Main {
    public static void main(String[] args) {
        int [] nums1 =  {2,1};
        int [] nums2 = {1,1};

        Solution_2 solution_2 = new Solution_2();
        int [] nums3 = solution_2.intersect(nums1,nums2);
        for(int i =0;i<nums3.length;i++)
        {
            System.out.println(nums3[i]);
        }
    }
}